<?php

namespace Apps\Frontend\Models;
use Phalcon\Mvc\Model;
class Firmware extends Model{
    public $id;
    public $name;
    public $link=null;
    public $status=0;
    public $version=0;
    public $date=0;
    public $created=0;
    public $created_by =0;
    public $modified=0;
    public $modified_by=0;

    public function initialize(){
        $this->setSource("ph_vegalife_firmware");
        $this->belongsTo('created_by', 'Apps\Frontend\Models\Users', 'id', array(
            'alias' => 'create',
            'reusable' => true
        ));


    }
}
